﻿using IPBoss.Order.Entities.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace IPBoss.Copyright.Entities
{
    public class ProductInfoInputModel : PageInputModel
    {
        /// <summary>
        /// 多著作权人
        /// </summary>
        public string MoreApplicant { get; set; }
        /// <summary>
        /// 产品主键
        /// </summary>
        public string PID { get; set; }

        /// <summary>
        /// 流程处理状态
        /// </summary>
        public int LastPSTID { get; set; }

        /// <summary>
        /// 产品大类
        /// </summary>
        public string BTCode { get; set; }

        /// <summary>
        /// 产品二级类
        /// </summary>
        public string InfoBTCode { get; set; }

        /// <summary>
        /// 产品三级类
        /// </summary>
        public string SubBTCode { get; set; }

        /// <summary>
        /// 合同来源 Code Base
        /// </summary>
        public int? OrderSource { get; set; }
        /// <summary>
        /// 合同支付状态,1全部支付，2部分支付，3支付中
        /// </summary>
        public int? OrderPayStatus { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int? DepartmentID { get; set; }
        /// <summary>
        /// 部门id集合
        /// </summary>
        public string DepartmentIDs { get; set; }
        
        /// <summary>
        /// 代理人ID
        /// </summary>
        public int? ProxyUser { get; set; }

        /// <summary>
        /// 处理状态CodeBase , Product_Status  CodeValue
        /// </summary>
        public int? StatusID { get; set; }

        /// <summary>
        /// 提交报件开始平台时间
        /// </summary>
        public DateTime? SubmitBeginCaseTime { get; set; }
        /// <summary>
        /// 提交报件结束平台时间
        /// </summary>
        public DateTime? SubmitEndCaseTime { get; set; }
        /// <summary>
        /// 提交报件平台时间
        /// </summary>
        public DateTime? SubmitCaseTime { get; set; }

        /// <summary>
        /// 提交处理时间
        /// </summary>
        public DateTime? SubmitFlowTime { get; set; }
        /// <summary>
        /// 最后一次开始处理时间
        /// </summary>
        public DateTime? LastBeginUpdateTime { get; set; }

        /// <summary>
        /// 最后一次结束处理时间
        /// </summary>
        public DateTime? LastEndUpdateTime { get; set; }

        /// <summary>
        /// 最后一次开始处理时间
        /// </summary>
        public DateTime? TaskBeginCreateTime { get; set; }

        /// <summary>
        /// 最后一次结束处理时间
        /// </summary>
        public DateTime? TaskEndCreateTime { get; set; }
        /// <summary>
        /// 发文开始时间
        /// </summary>

        public DateTime? RegisterBeginDate { get; set; }
        /// <summary>
        /// 发文结束时间
        /// </summary>
        public DateTime? RegisterEndDate { get; set; }

        /// <summary>
        /// 审核开始时间
        /// </summary>
        public DateTime? CheckBeginTime { get; set; }

        /// <summary>
        /// 审核结束时间
        /// </summary>
        public DateTime? CheckEndTime { get; set; }

        /// <summary>
        /// 最后一次处理时间
        /// </summary>
        public DateTime? LastUpdateTime { get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        public string ContractNumber { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string RobName { get; set; }
        /// <summary>
        /// 报件备注
        /// </summary>
        public string ProductRemark { get; set; }
        /// <summary>
        /// 案件处理人
        /// </summary>
        public int? ManageUserID { get; set; }
        /// <summary>
        /// 申请类型
        /// </summary>
        public int? ASTID { get; set; }
        /// <summary>
        /// 搜索文本框
        /// </summary>
        public string SearchText { get; set; }
        /// <summary>
        /// T_BrandInfo表主键GUID
        /// </summary>
        public string InfoID { get; set; }
        /// <summary>
        /// 要拷贝的infoid
        /// </summary>
        public string CopyFromInfoID { get; set; }
        /// <summary>
        /// 拷贝到的infoid
        /// </summary>
        public List<string> CopyToInfoIDList { get; set; }
        /// <summary>
        /// 合同所属人
        /// </summary>
        public int OrderBelongUser { get; set; }



        /// <summary>
        ///联系人主键
        /// </summary>
        public string ContactID { get; set; }

        /// <summary>
        /// 申请人主键
        /// </summary>
        public string ApplicantID { get; set; }

        /// <summary>
        /// 多个产品PID
        /// </summary>
        public List<string> PIDList { get; set; }
        /// <summary>
        /// 多发明人ApplicantID
        /// </summary>


        /// <summary>
        /// 多个一级产品 BTCode
        /// </summary>

        public List<string> BTCodeList { get; set; }

        /// <summary>
        /// 多个二级产品 BTCode
        /// </summary>

        public List<string> InfoBTCodeList { get; set; }

        /// <summary>
        /// 多个三级产品 BTCode
        /// </summary>

        public List<string> SubBTCodeList { get; set; }
        /// <summary>
        /// 多个T_Product_Resource ID
        /// </summary>

        public List<int> PRIDList { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public int UpdateUser { get; set; }
        /// <summary>
        /// 申请人类型
        /// </summary>
        public int UseType { get; set; }

        /// <summary>
        /// 最后一次回访结果
        /// </summary>
        public int LastVisitResultID { get; set; }

        /// <summary>
        /// 业务名称
        /// </summary>
        public string BusinessName { get; set; }

        public string StatusIDS { get; set; }
        /// <summary>
        /// 是否报件系统处理
        /// </summary>
        public bool? NOBusDispose { get; set; }
        /// <summary>
        /// 是否转报件支持
        /// </summary>
        public bool? IsProductSupport { get; set; }
        /// <summary>
        /// 是否进入流程
        /// </summary>
        public bool? IsInProcess { get; set; }
        /// <summary>
        /// 是否直接进入流程
        /// </summary>
        public int? is_FirstSubmitProcess { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public int? TaskType { get; set; }

        /// <summary>
        /// 交付状态
        /// </summary>
        public int DeliveryStatus { get; set; }

        /// <summary>
        /// 协议联系人
        /// </summary>
        public string AgreementContactsName { get; set; }

        /// <summary>
        /// 协议联系人
        /// </summary>
        public string AgreementTel { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public int TagID { get; set; }

        /// <summary>
        /// 退回代理原因ID
        /// </summary>
        public int? BATID { get; set; }
        /// <summary>
        /// 唯德退回类型，1 立案后退回，0 正常退回
        /// </summary>
        public string SendCaseType { get; set; }
        /// <summary>
        /// 进入流程开始时间
        /// </summary>

        public DateTime? InProcessTimeBeginDate { get; set; }
        /// <summary>
        /// 进入流程结束时间
        /// </summary>
        public DateTime? InProcessTimeEndDate { get; set; }

        /// <summary>
        /// 报件开始时间
        /// </summary>
        public DateTime? DeclareTimeBeginTime { get; set; }

        /// <summary>
        /// 报件结束时间
        /// </summary>
        public DateTime? DeclareTimeEndTime { get; set; }

        /// <summary>
        /// 是否已请款  0 未请款 1已请款
        /// </summary>
        public int? IsDeductFee { get; set; }

        /// <summary>
        /// 小项数开始
        /// </summary>
        public int? item_countBegin { get; set; }

        /// <summary>
        /// 小项数结束
        /// </summary>
        public int? item_countEnd { get; set; }
        /// <summary>
        /// 流程列表
        /// </summary>
        public List<string> FlowIDList { get; set; }
        /// <summary>
        /// 流程ID 
        /// </summary>
        public string FlowID { get; set; }

        /// <summary>
        /// 立案时间开始
        /// </summary>
        public DateTime? CaseBeginTime { get; set; }
        /// <summary>
        /// 立案时间结束
        /// </summary>
        public DateTime? CaseEndTime { get; set; }
        /// <summary>
        /// 申请时间开始
        /// </summary>

        public DateTime? AppDateStart { get; set; }
        /// <summary>
        /// 申请时间结束
        /// </summary>
        public DateTime? AppDateEnd { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string BusinessType { get; set; }
        /// <summary>
        /// 非诉状态
        /// </summary>
        public int? LawStatusID { get; set; }
        /// <summary>
        /// 当前部门和当前部门下的所有部门的编码集合
        /// </summary>
        public string DepartmentIds { get; set; }
        /// <summary>
        /// 签约主体
        /// </summary>
        public string CompanyID { get; set; }
        /// <summary>
        /// 交付主体
        /// </summary>
        public string SPCompanyID { get; set; }


        /// <summary>
        /// 报件时间
        /// </summary>
        public DateTime? ReportTimeStart { get; set; }
        /// <summary>
        /// 报件时间
        /// </summary>
        public DateTime? ReportTimeEnd { get; set; }

        /// <summary>
        /// 加载类型
        /// </summary>
        public string LoadType { get; set; }

        /// <summary>
        /// 创建来源
        /// </summary>
        public string CreateFrom { get; set; }
        /// <summary>
        /// 判断是线上还是线下
        /// </summary>
        public string IsOnline  { get; set; }

    }


}
